/**
 * 
 *  深圳市电联电子商务有限公司
 * 
 * 
 * Copyright (c) 2011-2012 RUIPENGKJ.Co.Ltd. All rights reserved.
 * 
 * */
package com.ruipengkj.bean;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 说明：
 * Entity Name 班次设置
 * @Author：朱攀
 * @Date：2012-08-16
 */
@Entity
@Table(name="twork")
public class TWork implements Serializable{
	
	
	private static final long serialVersionUID = 1L;
	
	private String  WorkID;  //班次编号
	private String  Name;    //班次名称
	private Integer  StartPoint;  //上班时间
	private Integer EndPoint;     //下班时间
	private Integer WorkDay1;     //周一是否有该班次
	private Integer WorkDay2;     //周二是否有该班次
	private Integer WorkDay3;     //周三是否有该班次
	private Integer WorkDay4;     //周四是否有该班次
	private Integer WorkDay5;     //周五是否有该班次
	private Integer WorkDay6;     //周六是否有该班次
	private Integer WorkDay7;     //周日是否有该班次
	private Integer EmCountPerWork;  //每班需要的人数
	private String RuleID;           //轮班规则编号
	
	@Column(name = "WorkID", length=15)
	@Id
	public String getWorkID() {
		return WorkID;
	}
	public void setWorkID(String workID) {
		WorkID = workID;
	}
	@Column(name = "Name")
	public String getName() {
		return Name;
	}
	public void setName(String name) {
		Name = name;
	}
	@Column(name = "StartPoint")
	public Integer getStartPoint() {
		return StartPoint;
	}
	public void setStartPoint(Integer startPoint) {
		StartPoint = startPoint;
	}
	@Column(name = "EndPoint")
	public Integer getEndPoint() {
		return EndPoint;
	}
	public void setEndPoint(Integer endPoint) {
		EndPoint = endPoint;
	}
	@Column(name = "WorkDay1")
	public Integer getWorkDay1() {
		return WorkDay1;
	}
	public void setWorkDay1(Integer workDay1) {
		WorkDay1 = workDay1;
	}
	@Column(name = "WorkDay2")
	public Integer getWorkDay2() {
		return WorkDay2;
	}
	public void setWorkDay2(Integer workDay2) {
		WorkDay2 = workDay2;
	}
	@Column(name = "WorkDay3")
	public Integer getWorkDay3() {
		return WorkDay3;
	}
	public void setWorkDay3(Integer workDay3) {
		WorkDay3 = workDay3;
	}
	@Column(name = "WorkDay4")
	public Integer getWorkDay4() {
		return WorkDay4;
	}
	public void setWorkDay4(Integer workDay4) {
		WorkDay4 = workDay4;
	}
	@Column(name = "WorkDay5")
	public Integer getWorkDay5() {
		return WorkDay5;
	}
	public void setWorkDay5(Integer workDay5) {
		WorkDay5 = workDay5;
	}
	@Column(name = "WorkDay6")
	public Integer getWorkDay6() {
		return WorkDay6;
	}
	public void setWorkDay6(Integer workDay6) {
		WorkDay6 = workDay6;
	}
	@Column(name = "WorkDay7")
	public Integer getWorkDay7() {
		return WorkDay7;
	}
	public void setWorkDay7(Integer workDay7) {
		WorkDay7 = workDay7;
	}
	@Column(name = "EmCountPerWork")
	public Integer getEmCountPerWork() {
		return EmCountPerWork;
	}
	public void setEmCountPerWork(Integer emCountPerWork) {
		EmCountPerWork = emCountPerWork;
	}
	@Column(name = "RuleID")
	public String getRuleID() {
		return RuleID;
	}
	public void setRuleID(String ruleID) {
		RuleID = ruleID;
	}

	

	
	
}
